// Copyright (c) Open Enclave SDK contributors.
// Licensed under the MIT License.

#include "hash.h"

const char* ALPHABET = "abcdefghijklmnopqrstuvwxyz";

/* Hash of ALPHABET string above */
OE_SHA256 ALPHABET_HASH = {{
    0x71, 0xc4, 0x80, 0xdf, 0x93, 0xd6, 0xae, 0x2f, 0x1e, 0xfa, 0xd1,
    0x44, 0x7c, 0x66, 0xc9, 0x52, 0x5e, 0x31, 0x62, 0x18, 0xcf, 0x51,
    0xfc, 0x8d, 0x9e, 0xd8, 0x32, 0xf2, 0xda, 0xf1, 0x8b, 0x73,
}};

unsigned char ALPHABET_KEY[] = {
    0xe1,
    0x20,
    0xbb,
    0x2d,
    0x5f,
    0x9b,
    0x92,
    0xbc,
    0xa6,
    0xb4,
    0x0b,
    0xe3,
    0xeb,
    0x3a,
    0xb5,
    0xf8};

size_t ALPHABET_KEY_SIZE = sizeof(ALPHABET_KEY) / sizeof(ALPHABET_KEY[0]);

OE_SHA256 ALPHABET_HMAC = {{0xeb, 0x99, 0x9e, 0x8e, 0x7f, 0xcf, 0xaf, 0xb3,
                            0x31, 0x2f, 0x5c, 0xaa, 0x3a, 0x25, 0x2f, 0x25,
                            0xfb, 0xef, 0x89, 0xd1, 0x41, 0x14, 0x37, 0x54,
                            0xcd, 0x3f, 0xeb, 0x70, 0x84, 0xac, 0x91, 0xbd}};